repo: Only load /etc/ostree/remotes.d for system repo
authorColin Walters <walters@verbum.org>
Mon, 26 May 2014 22:36:03 +0000 (18:36 -0400)
committerColin Walters <walters@verbum.org>
Mon, 26 May 2014 22:38:35 +0000 (18:38 -0400)
commita4d01976bb9722476b035abc87aa023bba2c7691
treed5576d683448b8dbf1e80db7b2e80b21fb0d02a8
parent62c2a204c91f5150d1e8e9b3672da23af0a2e436
repo: Only load /etc/ostree/remotes.d for system repo

They shouldn't be loaded for random test/personal repositories.  Doing
so triggers another bug in that we return them from
ostree_repo_get_config() when then causes clients to write them out
permanently to disk with ostree_repo_write_config().  This caused test
suite failures.
src/libostree/ostree-repo.c